package com.zzh.Singleton;

/**
 * @author 张占恒.
 * @date 2020/8/27.
 * @time 11:33.
 */
public class SingleObjectDemo {
    public static void main(String[] args) {
        //获取唯一可用的对象
        SingleObject object = SingleObject.getInstance();

        //显示消息
        object.showMessage();
    }
}
